import {Permission} from "@shared/models/Permission";
export class FileType{
  static DIR='dir'
  static IMG='img'
  static VIDEO='video'
  static UNKNOWN='unknown'
  static TEXT='text';
  static ZIP='zip';
}
export class FileInfo {
  id:string=''
  owner:string=''
  maker:string=''
  name:string=''
  isFile:boolean=false
  parent:string=''
  createTime:string=''
  lastModified:string=''
  permission?:Permission
  files?:Array<string>
  size?:number
  md5?:string
  directId?:string
  type=FileType.UNKNOWN
  checked=false
}
